package com.weishu.house.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weishu.house.entity.HouseStyle;
import com.weishu.house.entity.RoomInfo;
import com.weishu.house.mapper.RoomInfoMapper;
import com.weishu.house.service.IRoomInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gao
 * @since 2021-05-25
 */
@Service
public class RoomInfoServiceImpl extends ServiceImpl<RoomInfoMapper, RoomInfo> implements IRoomInfoService {
    @Autowired
    private RoomInfoMapper roomInfoMapper;


    @Override
    public List<RoomInfo> roomInfo(RoomInfo roomInfo) {
        return roomInfoMapper.roomInfo(roomInfo);
    }

    @Override
    public void roomInfosava(HouseStyle houseStyle) {
        roomInfoMapper.roomInfsava(houseStyle);
    }
}
